import service from "@/util/service.js"
export function getlink(url, payload) {
    return new Promise((resolve, reject) => {
        service.request({
            url,
            method: 'get',
            payload
        }).then((ok) => {
            resolve(ok)
        }).then((err) => {
            reject(err)
        })
    })
}